cmake_minimum_required(VERSION 3.5)

project(dal-test)

add_executable(dal_test_allocator
    test_allocator.cc)

add_executable(dal_test_sequence
    test_sequence.cc)

add_executable(dal_test_qos_policy
    test_qos_policy.cc)

target_link_libraries(dal_test_allocator gtest gtest_main pthread dal)
target_link_libraries(dal_test_sequence gtest gtest_main pthread dal)
target_link_libraries(dal_test_qos_policy gtest gtest_main pthread dal)

install(TARGETS dal_test_allocator dal_test_sequence dal_test_qos_policy
        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/dal/dal/test)